<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="style.css">
    <link rel="stylesheet" href="Rec.html">
    <link href="https://cdn.bootcss.com/twitter-bootstrap/4.4.1/css/bootstrap.css" rel="stylesheet">
    <link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css" rel="stylesheet">
    <title>Document</title>
</head>

<body id="main-container">
    <div>
        <div class="modal fade" id="weightDialog" tabindex="-1" role="dialog" aria-labelledby="weightDialogTitle" aria-hidden="true">
            <div class="modal-dialog modal-xl modal-dialog-centered modal-dialog-scrollable " role="document">
                <div class="modal-content m-weight-theme" ">
                    <div class="modal-header " style="border-bottom: none; ">
                        <h5 class="modal-title " id="weightDialogTitle " style="font-weight: bold; ">体重</h5>
                        <button type="button " class="close " data-dismiss="modal " aria-label="Close ">
                    <span aria-hidden="true ">&times;</span>
                  </button>
                    </div>
                    <div class="modal-body ">
                        
                    </div>
                    <div class="modal-footer " style="border-top: none; ">
                        <button type="button " class="btn btn-secondary " data-dismiss="modal ">Close</button>
                        <button type="button " class="btn btn-primary ">Save changes</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row ">
        <div class="left-container col col-lg-3 ">

        </div>
        <div class="right-container col col-lg-9 ">
            <!--体重-->
            <div class="m-card weight-card ">
                <p><i class="fa fa-balance-scale fa-lg icon weight-icon " aria-hidden="true "></i><span class="card-title ">体重</span></p>
                <div class="row ">
                    <p class="col col-lg-10 second-field "><span class="data-field ">65.7</span>公斤</p>
                    <button type="button " class="col col-lg-2 btn-rec " data-toggle="modal " data-target="#weightDialog ">记<span>&ensp;&ensp;</span>录</button>
                </div>
            </div>

            <!--饮食-->
            <div class="m-card food-card ">
                <div class="row ">
                    <p class="col col-lg-10 "><i class="fa fa-cutlery fa-lg icon food-icon " aria-hidden="true "></i><span class="card-title ">饮食</span></p>
                    <button class="col col-lg-2 btn-rec ">记&ensp;&ensp;录</button>
                </div>
                <div>
                    <p class="second-field "><span class="data-field ">65</span>/1950千卡</p>
                    <div class="progress ">
                        <div class="progress-bar bg-danger " role="progressbar " style="width: 50% " aria-valuenow="100 " aria-valuemin="0 " aria-valuemax="45 ">50%</div>
                    </div>
                </div>
            </div>

            <!--睡眠-->
            <div class="m-card sleep-card ">
                <div class="row ">
                    <p class="col col-lg-10 "><i class="fa fa-moon-o fa-lg icon sleep-icon " aria-hidden="true "></i><span class="card-title ">睡眠</span></p>
                    <button class="col col-lg-2 btn-rec btn-rec-moon ">记&ensp;&ensp;录</button>
                </div>
                <div class="row ">
                    <p class="col col-lg-10 second-field "><span class="data-field " style="color: white; ">8</span>小时<span class="data-field " style="color: white; ">15</span>分</p>
                    <div class="col col-lg-2 ">
                        <p style="color: white; ">下午12：30上午7:40</p>
                        <div class="progress ">
                            <div class="progress-bar bg-transparent " role="progressbar " style="width: 15% " aria-valuenow="15 " aria-valuemin="0 " aria-valuemax="100 "></div>
                            <div class="progress-bar bg-success " role="progressbar " style="width: 70% " aria-valuenow="70 " aria-valuemin="0 " aria-valuemax="100 "></div>
                        </div>
                    </div>
                </div>
            </div>

            <!--运动-->
            <div class="m-card sport-card ">
                <div class="row ">
                    <p class="col col-lg-10 "><i class="fa fa-bicycle fa-lg icon sport-icon " aria-hidden="true "></i><span class="card-title ">运动</span></p>
                    <button class="col col-lg-2 btn-rec ">记&ensp;&ensp;录</button>
                </div>
                <div class="row ">
                    <p class="col col-lg-10 second-field "><span class="data-field ">10</span>km<span class="data-field ">跑步</span></p>
                    <div class="col col-lg-2 ">
                        <p>下午12：30上午7:40</p>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <button type="button " class="btn btn-primary " data-toggle="modal " data-target="#exampleModalCenter">
        Launch demo modal
    </button>
    
    <!-- Modal -->
    <div class="modal fade " id="exampleModalCenter" tabindex="-1 " role="dialog " aria-labelledby="exampleModalCenterTitle " aria-hidden="true ">
    <div class="modal-dialog modal-dialog-centered " role="document ">
        <div class="modal-content ">
        <div class="modal-header ">
            <h5 class="modal-title " id="exampleModalCenterTitle ">Modal title</h5>
            <button type="button " class="close " data-dismiss="modal " aria-label="Close ">
            <span aria-hidden="true ">&times;</span>
            </button>
        </div>
        <div class="modal-body ">
            ...
        </div>
        <div class="modal-footer ">
            <button type="button " class="btn btn-secondary " data-dismiss="modal ">Close</button>
            <button type="button " class="btn btn-primary ">Save changes</button>
        </div>
        </div>
    </div>
    </div>
    <i class="fa fa-cutlery weight-icon " aria-hidden="true "></i>
    <script src="./index.js "></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.11/vue.js "></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.0/jquery.js "></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.4.1/js/bootstrap.js "></script>

    <script>

    </script>
</body>

</html>